package com.ruoyi.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.business.domain.Exam;
import com.ruoyi.business.domain.UserExam;
import com.ruoyi.business.domain.bo.UserExamBo;
import com.ruoyi.business.domain.vo.ExamVo;
import org.apache.ibatis.annotations.Param;

/**
 * @author 最爱喝兽奶
 * @create 2022/8/10
 **/
public interface ExamMapper extends BaseMapper<Exam> {
    /**
     * 根据传入的用户id分页查询他的考试信息
     * @param page
     * @param bo
     * @return
     */
    Page<ExamVo> queryStuExamByPage(@Param("page") Page<UserExamBo> page, @Param("bo") UserExamBo bo);
}
